package edu.zjut.hjg.saas.biz.model;

import edu.zjut.hjg.saas.biz.support.Gender;

public class Baby {
    private Integer      id;
    private Kindergarten kindergarten = new Kindergarten();
    private String       name;
    private String       parentName;
    private SchoolClass  schoolClass;
    private Integer      age;
    private Gender       gender;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Kindergarten getKindergarten() {
        return kindergarten;
    }

    public void setKindergarten(Kindergarten kindergarten) {
        this.kindergarten = kindergarten;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Gender getGender() {
        return gender;
    }

    public void setGender(Gender gender) {
        this.gender = gender;
    }

    public SchoolClass getSchoolClass() {
        return schoolClass;
    }

    public void setSchoolClass(SchoolClass schoolClass) {
        this.schoolClass = schoolClass;
    }

    @Override
    public String toString() {
        return "Baby [age=" + age + ", gender=" + gender + ", id=" + id + ", kindergarten="
                + kindergarten + ", name=" + name + ", parentName=" + parentName + ", schoolClass="
                + schoolClass + "]";
    }
}
